package cn.bdqn.service;

import cn.bdqn.entity.Student;

import java.util.List;

public interface StudentService {
    List<Student> findAll(Integer pageIndex,Integer pageSize,String name,String address) ;

    int countStudent(String name,String address);

    void addStudent(Student student);

    void removeStudent(Integer id);

    Student getStudentById(Integer id);

    void updateStudent(Student student);
}
